package cn.fsd.feignclients;

import cn.fsd.vo.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "storeroom-server",url = "localhost:1020")
public interface StoreroomFeignClient {
  @GetMapping("/storeroom/beginExchange/{order_id}")
  ResultBean beginExchange(@PathVariable String order_id);
}
